package cn.yangliu.security.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 杨柳
 * @date 2019-03-23
 */
@Controller
public class LoginController {

    @GetMapping("/login")
    public String login(){
        return "login";
    }

    @GetMapping({"/","/index"})
    public String index(){
        return "index";
    }
}
